package com.ll.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ll.dao.entity.EmailMessageHistory;

public interface EmailMessageHistoryMapper {

	public void insertEmailMessageHistory(EmailMessageHistory emailMessageHistory);

	public void deleteEmailMessageHistoryById(String emailMessageHistoryId);

	public void updateEmailMessageHistory(EmailMessageHistory emailMessageHistory);

	public void updateSensitiveEmailMessageHistory(EmailMessageHistory emailMessageHistory);

	public EmailMessageHistory findEmailMessageHistoryById(String emailMessageHistoryId);

	public List<EmailMessageHistory> findEmailMessageHistoryList();

	public int deleteEmailMessageHistoryListByIds(String[] Ids);

	public int insertEmailMessageHistoryList(List<EmailMessageHistory> emailMessageHistorys);

	public void updateEmailMessageHistoryList(List<EmailMessageHistory> emailMessageHistorys);

	public List<EmailMessageHistory> findEmailMessageHistoryQuery(EmailMessageHistory emailMessageHistory);

	public List<EmailMessageHistory> findEmailMessageHistoryQueryPage(@Param("obj") EmailMessageHistory emailMessageHistory, @Param("startIndex") int startIndex, @Param("limit") int limit);

	public int findCountEmailMessageHistoryQuery(EmailMessageHistory emailMessageHistory);

}
